<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title>BiwaScheme</title>
    <link href="/website/css/screen.css" rel="stylesheet" type="text/css">
    <link href="/website/css/jquery.terminal-2.3.0.css" rel="stylesheet" type="text/css"></script>
    <link href="/website/css/prism-coy.css" rel="stylesheet" type="text/css"></script>
    <script src="/release/biwascheme-@VERSION@-min.js" type="text/javascript"></script>
    <script src="/website/js/jquery.mousewheel.min.js" type="text/javascript"></script>
    <script src="/website/js/jquery.timers.min.js" type="text/javascript"></script>
    <script src="/website/js/jquery.cookie.min.js" type="text/javascript"></script>
    <script src="/website/js/jquery.terminal-2.3.0.js" type="text/javascript"></script>
    <script src="/website/js/prism.js" type="text/javascript"></script>
    <script src="/website/js/prism-scheme.js" type="text/javascript"></script>
    <script src="/website/js/jquery.terminal.prism.js" type="text/javascript"></script>
    <script src="/website/js/keyboard.js" type="text/javascript"></script>
    <script src="/website/js/biwascheme_terminal.js" type="text/javascript"></script>
  </head>
  <body>
    <a href="https://github.com/biwascheme/biwascheme"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png" alt="Fork me on GitHub"></a>

    <div id="menu">
      <a href="/index.html">
        <img src="/website/images/biwascheme_logo.png" alt="logo"
             title="BiwaScheme logo by @jcubic">
      </a>
      <ul>
        <li><a href='/doc/features.html'>Features</a></li>
        <li><a href='/doc/getting_started.html'>Getting Started</a></li>
        <li><a href='/doc/reference.html'>Reference</a></li>
        <li><a href='/doc/faq.html'>FAQ</a></li>
        <li><a href='/doc/index.html'>Other docs</a></li>
      </ul>
    </div>
    <div id="content">
<h2 id="how-to-make-a-release">How to make a release</h2>
<ol>
<li>Edit History.txt</li>
<li>Edit VERSION</li>
<li>Edit package.json</li>
<li>Build<ul>
<li>$ npm install uglifyjs -g</li>
<li>$ make -B</li>
</ul>
</li>
<li>Make sure it is working:<ul>
<li>run tests<ul>
<li>node ./local_website.js</li>
<li>open <a href="http://localhost:7001/test/spec.html">http://localhost:7001/test/spec.html</a></li>
<li>open <a href="http://localhost:7001/test/spec.html#release">http://localhost:7001/test/spec.html#release</a></li>
<li>open <a href="http://localhost:7001/test/spec.html#min">http://localhost:7001/test/spec.html#min</a></li>
<li>run test/browser_functions/<ul>
<li><code>$ cd test/browser_functions &amp;&amp; node server.js &amp;&amp; open http://localhost:7001/</code></li>
</ul>
</li>
<li>$ npm run node-test</li>
</ul>
</li>
<li>run demos<ul>
<li>demo/*</li>
<li>open <a href="http://localhost:7001/demo/repl.html">http://localhost:7001/demo/repl.html</a></li>
<li>open <a href="http://localhost:7001/website/i.html">http://localhost:7001/website/i.html</a></li>
<li>open <a href="http://localhost:7001/test/tracer.html">http://localhost:7001/test/tracer.html</a></li>
<li>open <a href="http://localhost:7001/test/tracer_auto.html">http://localhost:7001/test/tracer_auto.html</a></li>
</ul>
</li>
<li>try npm package<ul>
<li><code>$ npm pack</code></li>
<li><code>$ npm install biwascheme-x.y.z.tgz -g</code></li>
<li><code>$ biwas -v</code></li>
</ul>
</li>
</ul>
</li>
<li>Create biwascheme-x.y.z.js<ul>
<li>$ cp release/biwascheme{,-x.y.z}js</li>
<li>$ cp release/biwascheme{,-x.y.z}-min.js</li>
</ul>
</li>
<li>Commit, <code>git tag</code> and push changes to github</li>
<li>Update website<ul>
<li>see website.md</li>
</ul>
</li>
<li>Publish npm package<ul>
<li><code>$ npm publish</code></li>
</ul>
</li>
<li>Update <code>VERSION</code> to x.y.z.dev</li>
</ol>
    </div>

    <!-- Google Analytics -->
    <script>
      (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
      (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
      m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
      })(window,document,'script','//www.google-analytics.com/analytics.js','ga');

      ga('create', 'UA-2023947-5', 'auto');
      ga('send', 'pageview');
    </script>
  </body>
</html>
